home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / spitfire / alfv10.zip / !ALF.DOC next >
Text File  |  1992-03-29  |  21KB  |  517 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.                                ALF  v1.0
  11.                     Copyright (C) by Scott Fell,1992
  12.                    A Thunderstorm Software production
  13.  
  14.  
  15.  
  16.              Released into the Public domain March 29, 1992
  17.              
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.        -----------------------------------------------------------
  29.  
  30.                              DISCLAIMER
  31.  
  32.         >>  If you do not agree to this disclaimer, don't use this
  33.             product!
  34.  
  35.         >>  ALF is supplied AS-IS.  ALF carries no warranty,
  36.             expressed or implied.  The person using ALF takes whole
  37.             responsibility as to the quality and performance of this
  38.             product.  The author of this program assumes no
  39.             responsibility for anything.
  40.  
  41.  
  42.        -----------------------------------------------------------
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.                             S  E  C  T  I  O  N  S
  51.                             ----------------------
  52.  
  53.  
  54.        <1>    Why?                        <11>   Contacting the Author
  55.        <2>    What does it do?            <12>   Anything ELSE?
  56.        <3>    Installation                <13>   Bugs
  57.        <4>    If you have a Problem...    <14>   Limits
  58.        <5>    Compatibility               <15>   ALF and DesQview
  59.        <6>    CD-ROM users                <-->   REFERENCE
  60.        <7>    Maintenence                 <1>    Headers
  61.        <8>    Just a note                 <2>    Step Explanation
  62.        <9>    How much does it cost?      <3>    Submissions
  63.        <10>   Anything else?              <4>    Possible Problems...
  64.  
  65.  
  66.                             ----------------------
  67.  
  68.  
  69. Why?
  70. ----
  71.  
  72. I had another program that made up headers for the file-lists, and I
  73. loved the concept, and loved how it worked and kept up-to-date, but
  74. they wanted a 10$ registration fee before it would actually run by
  75. itself, and that huge "UNREGISTERED" notice would disappear.  I didn't
  76. like it, so I stopped using it, and decided to write my own.  So here
  77. it is- my submission to the SpitFire world...  Enjoy!
  78.  
  79.  
  80. What does ALF do?
  81. -----------------
  82.  
  83. It's a down-and-dirty header-maker for your SpitFire file-lists.
  84. Down-and-dirty meaning it won't clean your monitor, wash your car, or
  85. water your lawn, but it does what it's supposed to do, without fooling
  86. around with any unnecessary options.
  87.  
  88.  
  89. Installation
  90. ------------
  91.  
  92.         Knowing that you'd rather get it running than look over
  93.     instructions for an hour, use the following steps to get going
  94.     ASAP.  However:  I HIGHLY suggest taking at least a quick
  95.     look-through of the rest of this DOC file.
  96.  
  97.                 >>>>>  DO NOT SKIP ANY STEPS!!!!  <<<<<
  98.  
  99.  
  100.  ***If you have CD-ROM areas, you need to read the CD-ROM section!!!***
  101.  
  102. 1) Put all the EXE files into your SpitFire home directory (Where your
  103.    SFFAREA.DAT file is located).
  104.  
  105. 2) Execute ALFBAK.EXE
  106.  
  107. 3) Execute SFF_BAK.BAT (This batch file will be created for you when
  108.    you execute ALFBAK.EXE).  Run this file at this point in time, and
  109.    do not run it again until you're POSITIVE that ALF will work with
  110.    your system.
  111.  
  112. 4) Execute ALF whenever you want to update the headers in your
  113.    file-lists.  (As an event, it will update your headers as often as
  114.    you like, and you won't have to worry about it)
  115.  
  116.  
  117. 5) Goto step 4
  118.  
  119. >>If you're interested in knowing exactly what these steps do, consult
  120.   the last part of this DOC file.  There are more specific
  121.   explanations there.
  122.  
  123.  
  124.  
  125. If you have a problem..
  126. -----------------------
  127.  
  128.  
  129. If your computer belched when you ran it, and your file-listings are
  130. messed up, run !ALF once more.  If the listings are still messed up,
  131. then run the program BAD!_ALF, and then execute UNDO_ALF (a batch file
  132. that is created by BAD!_ALF), and your file-lists will be returned to
  133. how they were prior to running ALF.  I don't anticipate problems, but
  134. someone somewhere is going to have one, and this is the easy way to
  135. get back to normal.  If you want to try to use !ALF again, after
  136. you've had a problem, you can start at step 4 and see if it works.  If
  137. it doesn't work this time, run UNDO_ALF once more.
  138.  
  139. NOTE:  CD-ROM users beware!  If your file-listings from the CD-ROM are
  140. not in the EXACT same format as v3.1 (or v3.2) then you will have your
  141. file-areas screwed up.
  142.  
  143.  
  144.  
  145. Compatibility
  146. -------------
  147.  
  148. ALF will work on SpitFire v3.1.  It will also work with v3.2, BUT, if
  149. you have the multiline option for file-descriptions active (for
  150. version 3.2), the file-counter will be wrong.  If you want to test it
  151. out, please be sure to let me know!.. With the ALFBAK and BAD!_ALF,
  152. even if it does mess up, you have a 2 minute fix-process before
  153. everything is back to normal.
  154.  
  155. NOTE:  If you've added extended descriptions to your file- like a
  156.        second line, such as this,
  157.  
  158. DATA1.GIF      62,464  08-13-91  Data of Star Trek: The Next
  159.                                  Generation as Sherlock Holmes
  160.                                  -Episode 34
  161.  
  162. NOTE <continued> everything will be correct except for the number of
  163.        files in the area.  ALF will tell you that you have more files
  164.        than you do, because it counts the number of lines that are
  165.        used, not the number of filenames.
  166.  
  167.  
  168. CD-ROM users:
  169. ------------
  170.  
  171. When executing any of the programs in this package, you need to be
  172. aware of just one command-line parameter.  It is the path to your
  173. CD-ROM display files.  In most cases, this file-path is C:\SF\DISPLAY,
  174. which is the default setting.  If your configuration is different, you
  175. need to enter the path to your display files.  Just enter it on the
  176. command-line without any special parameters.  Remember to NOT use the
  177. following backslash!  If you do, the program will exit with an error,
  178. and halt.  If no path is specified, the default directory is used
  179. (C:\SF\DISPLAY).
  180.  
  181. NOTE:  If the structure of your CD-ROM display files is different from
  182. that of SpitFire, you WILL run into problems.  As long as there is a
  183. comma in the 18th space of the line, all will be well in the world.
  184. If there is no comma in the 18th character, then that line will be
  185. omitted in the final product.  (ie- if none of the lines have commas
  186. in the 18th place, ALL of the listings will be erased).  If the comma
  187. is there, then all of your file-lists will be just fine.  If it is not
  188. there, you might end up with no files listed in that area.  So here's
  189. what you do- On the command-line, instead of specifying the ACTUAL
  190. directory where the display files are, specify a DIFFERENT directory
  191. (That actually exists) on your disk where NO CD-ROM display files are.
  192. ALF will then skip the processing of your CD-ROM areas.  The regular
  193. file-areas will continue to be updated, but ALF will now ignore your
  194. CD-ROM areas.
  195.  
  196. NOTE:  There is a utility on Buffalo Creek's BBS that will add commas
  197.        in the right places in your CD-ROM areas, assuming that they're
  198.        not exactly the same as SpitFire's format.
  199.  
  200.         It is conceivable that ALF will eventually grow to include the
  201.     different CD-ROM listing formats.  If you have a format that you
  202.     want supported, please include a sample of the file listings, and
  203.     send it off to the author.
  204.  
  205.  
  206.  
  207. Maintenance
  208. -----------
  209.  
  210.         Every once in a while (you should run this by YOURSELF), you
  211.    will probably want to execute the program ALFBAK.EXE, and then run
  212.    the batch file (SFF_BAK.BAT) that it creates.  When you do this,
  213.    the CURRENT SFFILES.BBS will be copied into backup files. This way,
  214.    you can be assured that the back-ups of your SFFILES.BBS files will
  215.    be kept current, and you won't have to mess with adding back in all
  216.    the files that you've added to your areas since you last ran
  217.    ALFBAK. (This does the same with CD-ROM file-area lists)
  218.  
  219.  
  220.  
  221. Just a note
  222. -----------
  223.  
  224. This version of ALF does NOT do anything about the file upload-paths.
  225. it will not update or create headers for the upload areas.  If your
  226. upload and download are the same area, then the SFFILES.BBS file will
  227. be updated.  If they are separate, the download section will be
  228. updated while the upload section will not.  If this presents a
  229. problem, be sure to let me know!
  230.  
  231.  
  232.  
  233. How much does it cost?
  234. ----------------------
  235.  
  236. A postage stamp.  Send me your comments, suggestions, theories on
  237. relativity, or whatever to:
  238.  
  239.                     Quandra: TIE c/o Scott Fell
  240.                             P.O. Box 855
  241.                            Flagstaff, Az.
  242.                                 86004
  243.  
  244. Or, you can E-mail me at any of the addresses listed below under
  245. "Contacting the author".
  246.  
  247. Donations are not required, but are GREATLY appreciated- and what do
  248. you get for a donation?...  A personally compiled version, of course!
  249. :)...  If you'd like, I can add another line at the top of the header
  250. that has your BBS name on it, and your number at the bottom-right corner.
  251. - it would look something like:
  252.  
  253.  
  254.  
  255.               <─────────────────────────────────────────────────>
  256.                        Quandra:  The Information Exchange
  257.           <─────────────────────────────────────────────────────────>
  258.              A            R           9           E            A
  259.       <─────────────────────────────────────────────────────────────────>
  260.                                    GIFs A-F
  261.   <──────────────────────>  <──────────────────────>  <─────────────────────>
  262.          493 files                 51,097,928                 3/7/1992        
  263. <──────────────────────────────────────────────────────────[ALF v1.0#001]─────>
  264.  
  265. Or, possibly something more attractive- (so I admit I'm no artist
  266. 8^))- let me know what you think...
  267.  
  268. I think 7$ is fair for me to send you the stuff on disk... or, if you
  269. want to call up Quandra, and download it for yourself, I think 4$
  270. would be more in the realm of reasonable.  US funds only, please!
  271. Do NOT send cash!  (It tends to disappear mysteriously in the mail)
  272. Checks or Money orders only.
  273.  
  274.  
  275.  
  276. Anything else?
  277. --------------
  278.  
  279. Future versions are a definite possibility, but, it all depends on how
  280. many people actually use this program.  'Response' is the key-word
  281. here.  If I know that people are actually using this program, then
  282. I'll be interested in putting out future versions.  If not, then
  283. there's really no reason to.
  284.  
  285.  
  286. Contacting The Author
  287. ---------------------
  288.  
  289. In order of speed..
  290.  
  291.   Fidonet:  1:304/7  -- Send netmail to this address.  If you've
  292.                         donated, I'll send it back.  If you haven't,
  293.                         the letter will be placed on "Hold" until you
  294.                         poll again.  Please use this method if at all
  295.                         possible.
  296.  
  297.   Internet:  Quandra@grdpnt.flagstaff.az.us
  298.                      -- Mail goes through almost as quick through here
  299.  
  300.   BBS:  Quandra: The Information Exchange BBS (602)527-8895 24hrs/7days
  301.         To: SysOp
  302.                      -- This is probably the fastest way to reach me
  303.                                                                     
  304.   Mailing Address:   Quandra: TIE c/o Scott Fell
  305.                      P.O. Box 855
  306.                      Flagstaff, Az.
  307.                      86004
  308.  
  309.                      -- This is probably the slowest way to reach me ;-)
  310.          
  311.  
  312.  
  313. Anything ELSE?
  314. --------------
  315.  
  316. This program works just fine on my own system... it runs as an event
  317. every night, as a matter of fact... If you run across any problems, be
  318. sure to let me know ASAP!... It's got my name on it, so I want it to
  319. be as good as possible!  Suggestions on improvements, possible other
  320. programs, etc are ALWAYS welcome!
  321.  
  322.  
  323. Enjoy it!
  324.   -Scott
  325.  
  326.  
  327.  
  328. Bugs
  329. ----
  330.  
  331. If you discover a bug in the program, (and there always are), please let
  332. me know ASAP, so I can get the problem fixed, and have the new version
  333. available quickly.  If you would like to make a suggestion to change
  334. the way ALF works, interfaces, etc., send me a note.  I will review
  335. all proposed changes.  If your suggestion makes it into a final copy
  336. of ALF, you will be noted for your contribution in the CHANGES.ALF
  337. file that will accompany future versions.
  338.  
  339.  
  340.  
  341. Limits
  342. ------
  343.  
  344. The only real limit I know of is 600 lines-worth of text in your file.
  345. If your file-listing is longer than 600 lines <and if it is, you've
  346. got a horrendously HUGE listing that people should probably not have
  347. to sort through to get to the file that they want>, then ALF will halt
  348. with a run-time error.  I limit it to 600 because of memory
  349. requirements.  ALF runs quite well within a 128k window in my DesQview
  350. program.  I don't know exactly how much memory is required, and I
  351. really don't know of a way to test it, either <any Pascalers out
  352. there who know how?>.
  353.  
  354. The only other thing I can think of is if your listings are longer
  355. than the 80 columns provided on a single screen.  If you have more
  356. than 80 characters, then your listings will most probably be chopped
  357. off.
  358.  
  359.  
  360. ALF and DesQview
  361. ----------------
  362.  
  363. Seems to work just fine with DesQview.  You will probably experience a
  364. little bleed-through, 'cause I dunno how to turn it off ;-).  After
  365. the initial screen-write, you will only be disturbed by the monitor
  366. telling you which file-area it's working on, and then when it's done.
  367. I have no experience with Windows, or DDos, or other multitaskers, so,
  368. those of you who use them, please let me know how they work!
  369.  
  370.  
  371.                           R  E  F  E  R  E  N  C  E
  372. ---------------------     -------------------------      ---------------------
  373. -------------------------     -----------------    ---------------------------
  374. ------------------------------    ---------   --------------------------------
  375. -----------------------------------  ---  ------------------------------------
  376. ------------------------------------------------------------------------------
  377.  
  378. Headers
  379. -------
  380. A regular header created by ALF will look something like this:
  381. ---
  382.    
  383.           <─────────────────────────────────────────────────────────>
  384.              A            R           12           E            A
  385.       <─────────────────────────────────────────────────────────────────>
  386.                                  Modem goodies
  387.   <──────────────────────>  <──────────────────────>  <─────────────────────>
  388.          446 files                 16,234,758                 3/7/1992        
  389. <──────────────────────────────────────────────────────────────[ALF v1.0]─────>
  390. 16550S.ZIP      5,943  04-11-90  Toggle the NS16550A FIFO buffer, w/TP source
  391. 16550S13.ZIP   10,166  03-29-91  Toggle the NS16550A FIFO buffer, w/TP source
  392. 1PR2A.ARC       2,092  05-18-89  Swaps LPT1 and LPT2 printer ports
  393. 34INSTAL.ZIP    3,695  03-19-90  Adds DOS support for COMM ports 3 and 4
  394. 387.ZIP        24,147  05-23-90  Software emulation of 80387 coprocessor chip
  395. 387SXBUG.ZIP    5,436  03-15-91  Check for bad 386sx motherboard
  396. And on and on...
  397.  
  398.  
  399. Step Explanation
  400. ----------------
  401.  
  402.         If you're interested in exactly how this program works, this
  403.     section is for you...
  404.  
  405. 1) Put all the EXE files into your SpitFire home directory (Where your
  406.    SFFAREA.DAT file is located).
  407.  
  408.         This puts the programs where they can find the SFFAREA.DAT
  409.    file, without having to search for it.  It really doesn't matter
  410.    where the file is; as long as it's current, directory, !ALF will
  411.    work just fine.
  412.  
  413. 2) Execute ALFBAK.EXE
  414.  
  415.         This goes through your SFFILES.BBS file, and makes up a batch
  416.    file (called MAKEBAKS.BAT) that will go through your file-areas,
  417.    and create backups of your SFFILES.BBS files.  The backups will be
  418.    called SFFILES.BAK for each of your areas.
  419.  
  420. 3) Execute MAKEBAKS.BAT  NEVER run this batch before you're POSITIVE
  421.    that !ALF will work with your system!!!!
  422.  
  423.         This is the batch file created by ALFBAK.EXE.  It actually
  424.    goes through your file-directories, and does this command: "Copy
  425.    SFFILES.BBS SFFILES.BAK" in each of the areas, providing an exact
  426.    copy of each of your file-listings.  This is very handy if
  427.    something goes wrong.  Your backups will already be created for
  428.    you.  In case you're missing an SFFILES.BBS, you will notice an
  429.    error when your batch file is running.  I left out the "Echo Off"
  430.    so it would be easier to find out where any potential problems
  431.    were.
  432.  
  433. 4) Execute !ALF whenever you want to update the headers in your
  434.    file-lists.  (As an event, it will update your headers as often as
  435.    you like, and you won't have to worry about it)
  436.  
  437.         !ALF is the program that goes through your file-listings,
  438.    creates the headers, and inserts the header before the first line
  439.    of the file.  !ALF assumes that the first file in the area will
  440.    have a comma in the 18th space (between the thousands and the
  441.    hundreds in the file-descriptions).  If it is not there, it assumes
  442.    that that line is a comment-line (or possibly another header), and
  443.    omits it from the final product.  If you've messed with your
  444.    descritiptions at all, you need to be VERY sure that the commas are
  445.    in the 18th space, or you'll get files omitted that shouldn't have
  446.    been.
  447.  
  448.  
  449.  
  450. Submissions
  451. -----------
  452.  
  453.         Suggestions:  Are greatly appreciated.  If your suggested
  454.     change makes it into a future edition, your name and BBS will be
  455.     noted in the CHANGES.ALF file, included in future archives of ALF.
  456.  
  457.         Problems:  If you have one, there are about 4 addresses where
  458.     you can reach me.  If you wish to send netmail, your response will
  459.     be posted within 24 hours, and placed on hold until you poll
  460.     again.  The "On Hold" reply will wait inside FroDo until you
  461.     pick it up.  Replies older than a month that have not been picked
  462.     up will be deleted.  Internet is probably the second-fastest way
  463.     to do things, and one of the most conveninet.  Calling my BBS is
  464.     another option, or, you can also use the good 'ol U.S. Postal
  465.     Service.. (please include an extra stamp for the return postage!)
  466.  
  467.  
  468. Problems
  469. --------
  470.  
  471.         For any problem that you have, you can always fix it with the
  472.    UNDO_ALF.EXE program I've provided in the package.  It will create
  473.    a batch file that will go through the file-areas, and copy the
  474.    SFFILES.BAK file (that the MAKBAKS program created) back to the
  475.    original SFFILES.DAT.  If you've followed the steps correctly,
  476.    there is no problem that cannot be fixed simply and easily.  You
  477.    have that assurance no matter what happens, so long as YOU don't
  478.    change your SFFILES.BAK files.  None of the programs in this
  479.    package deal with the SFFILES.BAK files, so, they will remain the
  480.    same way they were when they were created originally, assuming no
  481.    other program <or you> changes the data contained in them.
  482.  
  483.  
  484. Conceivable problems include:
  485.  
  486.    Files that are greater in size than 999,999 bytes.  If these
  487.    listings aren't put-together the way "MKSFFBBS.EXE" does <A
  488.    freeware file-utility from Mike Woltz (C)>, then it will count
  489.    <incorrectly> the number of bytes in that file area.  No other
  490.    damage will result.
  491.  
  492.    One more time!  CD-ROM users need to be very careful when they run
  493.    !ALF.  If you know already that !ALF will not work with your
  494.    particular format, then don't run it on your CD-ROM areas!
  495.  
  496.    If you have file-areas configged in your SFFAREA.DAT file that are
  497.    not existant on the disk, !ALF will exit with an error, and halt.
  498.    You will want to run the program while you're watching it, so that
  499.    you will know if it's getting through all of your file-areas or
  500.    not.  There is a fix for this problem, though- eliminate the
  501.    unnecessary file-area-definitions from the SFFAREA.DAT file.
  502.  
  503.    If your file-descriptions are in some odd format, it is possible
  504.    that ALF will not know that certain lines are files, and omit them.
  505.    This is only possible in CD-ROM areas, or in areas that you made
  506.    descriptions for yourself, in which the descriptions are different
  507.    from the common form. (ie the comma in the 18th space).
  508.  
  509. <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  510.            This file courtesy of Quandra: The Information Exchange BBS
  511.                                 (602)527-8895
  512.                                24 hours 7 days
  513.         Central point of distribution for Thunderstorm Software products
  514. <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  515.  
  516. SpitFire is a Copyright of Buffalo Creek Software and Mike Woltz
  517.